go/types.Checker.hasAllMethods (method)
4 uses
go/types (current package)
infer.go#L305: if !check.hasAllMethods(tx, constraint, true, func(x, y Type) bool { return u.unify(x, y, exact) }, &cause) {
instantiate.go#L288: if !check.hasAllMethods(V, T, true, Identical, cause) /* !Implements(V, T) */ {
lookup.go#L488: func (check *Checker) hasAllMethods(V, T Type, static bool, equivalent func(x, y Type) bool, cause *string) bool {
lookup.go#L556: return check.hasAllMethods(T, V, false, Identical, cause)